package com.lenovo.testreport.online.web.smoke.service;

import com.lenovo.testreport.online.web.smoke.model.OnlineWebSmokeReport;

import java.util.List;

/**
 * @author CJF
 * @date 2018/10
 */
public interface OnlineWebSmokeReportService {
    List<OnlineWebSmokeReport> findAllReport(String tablename);

    List<OnlineWebSmokeReport> findByType(String tablename, String type);

    int addReport(String tablename, OnlineWebSmokeReport report);

    int findMaxId(String tablaname);

    List<OnlineWebSmokeReport> findReportByTime(String tablename, String start, String end, String version);

    List<String> findAllVersion(String tablename);
}
